# 给变量赋初始值
j = 1
# 判断j是否小于6
while j < 6:
    i = 1
    # 判断i是否等于j
    while i <= j:
        # 以★格式打印,并以空格分隔
        print('★',end=' ')
        i = i + 1
    #换行
    print()
    j=j+1